package qc.module.sl.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import qc.module.sl.dto.project.ProjectDto;
import qc.module.sl.entity.SlBasicProjects;

import java.util.List;

/**
 * BasicProjectsMapper
 *
 * @author QuCheng Tech
 * @create 2023/02/14
 */
@Mapper
public interface BasicProjectsMapper {
    BasicProjectsMapper MAPPER = Mappers.getMapper(BasicProjectsMapper.class);

    ProjectDto toDto(SlBasicProjects en);
    
    List<ProjectDto> toDtoList(List<SlBasicProjects> list);
}
